import { get, post } from "@/http/draw";

// 绘画
export const draw = (params) => post("/generate", params);

// mj生成任务
export const mjAdd = (params) => post("/mj/imagine", params);

// mj改图
export const mjUpd = (params) => post("/mj/simple-change", params);

// mj查询任务结果
export const mjGet = (id) => get(`/mj/fetch/${id}`);
